package com.study.springsecurity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.study.springsecurity.pojo.entity.ApiInfoEntity;
import com.study.springsecurity.pojo.vo.ApiRoleCodeVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ApiInfoMapper extends BaseMapper<ApiInfoEntity> {

    /**
     * 查询所有api访问需要的角色信息
     *
     * @return
     */
    List<ApiRoleCodeVo> queryAccessApiNeedRole();

}
